package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/** 远程调用会员服务
 * @author Administrator
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {
    /**
     *  通过会员Id得到会员收货地址
     * @param id
     * @return
     */
    @RequestMapping("/member/memberreceiveaddress/info/{id}")
     R info(@PathVariable("id") Long id);
}
